package com.ruoyi.system.mapper;


import com.ruoyi.system.pojo.entity.ProductType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AgoniProductTypeMapper {

    @Select("SELECT * FROM agoni_product_type")
    List<ProductType> selectProductTypeList();
    @Select("SELECT id FROM agoni_product_type WHERE product_id = #{productId}")
    Long getProductTypeIdById(Long productId);
}
